{template "header.html"}
<div class="note note-danger">
    <p><a href="javascript:dr_update_cache();">{dr_lang('更改数据之后需要更新缓存之后才能生效')}</a></p>
</div>
<form action="" class="form-horizontal" method="post" name="myform" id="myform">
	{$form}
	<div class="portlet bordered light ">
	    <div class="portlet-title tabbable-line">
	        <ul class="nav nav-tabs" style="float:left;">
	            <li class="{if $page==0}active{/if}">
	                <a href="#tab_0" data-toggle="tab" onclick="$('#dr_page').val('0')"> <i class="fa fa-cog"></i> {dr_lang('圈子设置')} </a>
	            </li>
	        </ul>
	    </div>
	    <div class="portlet-body">
	        <div class="tab-content">
	            <div class="tab-pane {if $page==0}active{/if}" id="tab_0">
	                <div class="form-body">
						<div class="form-body">
						    <div class="form-group">
							    <label class="col-md-2 control-label">公域与私域设置</label>
							    <div class="col-md-9">
							        <div class="mt-radio-inline">
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_moshi]" value="0" {if $data['quan_moshi']==0}checked{/if} /> {dr_lang('公域圈')} <span></span></label>
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_moshi]" value="1" {if $data['quan_moshi'] ==1}checked{/if} /> {dr_lang('私域圈')} <span></span></label>
									</div>
							        <span class="help-block">{dr_lang('公域：用户可以申请圈子，私域：用户无法申请圈子')}</span>
							    </div>
							</div>
							<div class="form-group">
							    <label class="col-md-2 control-label">申请圈子数量</label>
							    <div class="col-md-9">
							        <div class="mt-radio-inline">
							            <input class="form-control input-xlarge" type="text" name="data[quan_shuliang]" value="{$data['quan_shuliang']}" >
									</div>
							     <span class="help-block">{dr_lang('在私域圈无效。用户申请圈子的数量，默认为申请3个圈子')}</span>
							    </div>
							</div>
							<div class="form-group">
							    <label class="col-md-2 control-label">圈子佣金比例</label>
							    <div class="col-md-9">
							        <div class="mt-radio-inline">
							            <input class="form-control input-xlarge" type="text" name="data[quan_yongjin]" value="{$data['quan_yongjin']}" >
									</div>
							     <span class="help-block">{dr_lang('在私域圈无效。圈子佣金比例：0或者空是不收取佣金，0.8表示100元收取20元佣金')}</span>
							    </div>
							</div>
							<div class="form-group">
							    <label class="col-md-2 control-label">关闭帖子属性</label>
							    <div class="col-md-9">
							        <div class="mt-radio-inline">
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_shuxing]" value="0" {if $data['quan_shuxing']==0}checked{/if} /> {dr_lang('显示')} <span></span></label>
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_shuxing]" value="1" {if $data['quan_shuxing'] ==1}checked{/if} /> {dr_lang('不显示')} <span></span></label>
									</div>
							        <span class="help-block">{dr_lang('在帖子顶部显示“圈子信息”，方便快速进入圈子')}</span>
							    </div>
							</div>
							<div class="form-group">
							    <label class="col-md-2 control-label">列表头像显示</label>
							    <div class="col-md-9">
							        <div class="mt-radio-inline">
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_touxiang]" value="0" {if $data['quan_touxiang']==0}checked{/if} /> {dr_lang('显示头像')} <span></span></label>
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_touxiang]" value="1" {if $data['quan_touxiang'] ==1}checked{/if} /> {dr_lang('显示圈子')} <span></span></label>
							            <div>
							                <br><img src="/static/assets/images/touxiang.gif" width="250">
							            </div>
							            
							            <!--label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_mianze_moshi]" value="2" {if $data['quan_mianze_moshi'] ==2}checked{/if} /> {dr_lang('按照独立-圈子')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_mianze_moshi]" value="4" {if $data['quan_mianze_moshi'] ==4}checked{/if} /> {dr_lang('按照独立-帖子')} <span></span></label-->
									</div>
							        <span class="help-block">{dr_lang('显示头像是在首页列表展示的帖子显示用户头像，否则显示圈子图标')}</span>
							    </div>
							</div>
							<div class="form-group">
							    <label class="col-md-2 control-label">帖子显示“圈子信息”</label>
							    <div class="col-md-9">
							        <div class="mt-radio-inline">
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_xinxi]" value="0" {if $data['quan_xinxi']==0}checked{/if} /> {dr_lang('不显示')} <span></span></label>
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_xinxi]" value="1" {if $data['quan_xinxi'] ==1}checked{/if} /> {dr_lang('显示')} <span></span></label>
									</div>
							        <span class="help-block">{dr_lang('在帖子顶部显示“圈子信息”，方便快速进入圈子')}</span>
							    </div>
							</div>
							<div class="form-group">
							    <label class="col-md-2 control-label">复制帖子内容</label>
							    <div class="col-md-9">
							        <div class="mt-radio-inline">
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_fuzhi]" value="0" {if $data['quan_fuzhi']==0}checked{/if} /> {dr_lang('可复制')} <span></span></label>
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_fuzhi]" value="1" {if $data['quan_fuzhi'] ==1}checked{/if} /> {dr_lang('禁止复制')} <span></span></label>
									</div>
							        <span class="help-block">{dr_lang('是否可以复制帖子内容')}</span>
							    </div>
							</div>
						
						    
							<!--div class="form-group">
							    <label class="col-md-2 control-label">海报开关</label>
							    <div class="col-md-9">
							        <div class="mt-radio-inline">
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_haibao]" value="0" {if $data['quan_haibao']==0}checked{/if} /> {dr_lang('开启')} <span></span></label>
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_haibao]" value="1" {if $data['quan_haibao'] ==1}checked{/if} /> {dr_lang('关闭')} <span></span></label>
									</div>
							        <span class="help-block">{dr_lang('这个是控制单圈的海报开关。')}</span>
							    </div>
							</div-->
							
						</div>
	                </div>
	            </div>
	        </div>
	    </div>
	</div>
	
	<div>
	    <div class="portlet-body form myfooter">
	        <div class="form-actions text-center">
	            <button type="button" onclick="dr_ajax_submit('{dr_now_url()}', 'myform', '2000')" class="btn green"> <i class="fa fa-save"></i> {dr_lang('保存')}</button>
	        </div>
	    </div>
	</div>
</form>



{template "footer.html"}